package com.sisreq.elementos;

import java.awt.Dimension;
import javax.swing.JButton;

@SuppressWarnings("serial")
public class MyButton extends JButton{
	
	@Override public Dimension getMaximumSize(){
		return super.getPreferredSize();
	}
	
	public MyButton (String label){
		this.setText(label);
	}
}
